<?php
  $tablename = "badge_id";
  $server = "sql.byethost27.org";
  $username = "rockedg1_rockedg";
  $password = "keelwater";
  $database = "rockedg1_badge";
  $con = mysqli_connect($server, $username, $password, $database) or die("Some error occurred during connection " . mysqli_error($con));
  $indie_con = $_REQUEST['indie'];
  $indie_con = trim($indie_con); 

		$sql = "UPDATE badge_id SET indie_con = '$indie_con' WHERE id='1'";
		$query = mysqli_query($con, $sql) or die(mysqli_error($con));

	mysqli_close($con);
	require_once(dirname(__FILE__) . "/dis_comp_name.php");
	
?>
